home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
1,000 Game Levels 2
/
1,000 Game Levels 2.iso
/
DOSARC
/
BOWHUNT.ZIP
/
TITLE.BAK
< prev
next >
Wrap
Text File
|
1994-05-21
|
1KB
|
49 lines
Program Coder;
uses Crt, Graph;
var
Gd, Gm : integer;
y, Size : integer;
c1 : integer;
c2 : integer;
c3 : integer;
c4 : integer;
key : char;
Procedure Start;
begin
randomize;
clrscr;
textcolor(red+blink);
Gd := Detect; InitGraph(Gd, Gm, '');
if GraphResult <> grOk then Halt(1);
Y := 0;
repeat
c1 := random(GetMaxColor);
c2 := random(GetMaxColor);
c3 := random(GetMaxColor);
c4 := random(GetMaxColor);
SetColor(c1);
SetBkColor(black);
delay(150);
SetTextStyle(TriplexFont, HorizDir, 10);
OutTextXY(190, 40, 'Bow');
SetColor(c2);
OutTextXY(100, 160, 'Hunter');
SetColor(c3);
SetTextStyle(TriplexFont, HorizDir, 4);
OutTextXY(80, 350, 'To play game, press any key');
SetColor(c4);
OutTextXY(30,400,'For how to play the game, press H');
until keypressed;
key:=readkey;
OutTextXY(50,50,key);
delay (500);
end;
begin
start;
end.